package com.itgungnir.designpattern.strategy;

/**
 * 橡皮鸭，吱吱叫，不会飞
 */
public class RubberDuck extends Duck {

	public RubberDuck() {
		System.out.println("这是一只橡皮鸭");
		super.flyBehavior = new FlyNoWay();
		super.quackBehaviro = new Squeak();
	}
}
